package com.atkxp.stustatusmasystem.service;

import com.atkxp.stustatusmasystem.pojo.Class;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author user
 * @declaration
 * @create 2023/5/28-17:31
 */
@Service
public interface ClassService {
    Class getClassById(int id);

    List<Class> getAllClassByTid(@Param("tid") String tid);

    List<Class> getAllClasses();

    int addClass(Class clazz);
}
